Fix broken generator tests, updates to go.sum needed#25251
Merged
kvch merged 1 commit intoelastic:masterfrom Apr 23, 2021
Merged
Fix broken generator tests, updates to go.sum needed#25251kvch merged 1 commit intoelastic:masterfrom
kvch merged 1 commit intoelastic:masterfrom
Conversation
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
Contributor
|
Pinging @elastic/agent (Team:Agent) |
Contributor
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
2 tasks
Contributor
💚 Build Succeeded
Expand to view the summary
Build stats
Trends 🧪❕ Flaky test reportNo test was executed to be analysed. |
kvch
approved these changes
Apr 23, 2021
|
Please backport to 7.x, 7.13, and 7.12 |
mergify Bot
pushed a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
mergify Bot
pushed a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
mergify Bot
pushed a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
andrewkroh
added a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
andrewkroh
added a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
andrewkroh
added a commit
that referenced
this pull request
Apr 23, 2021
Both generator tests were failing because the go.sum needed an update after running `mage test`.
The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running `mage test`.
The original errors were:
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/amd64: exit status 1
failed building for windows/amd64: exit status 1
go: updates to go.sum needed, disabled by -mod=readonly
Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1
Error: failed building for windows/386: exit status 1
failed building for windows/386: exit status 1
(cherry picked from commit 542bef8)
Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
leweafan
pushed a commit
to leweafan/beats
that referenced
this pull request
Apr 28, 2023
…lastic#25270) Both generator tests were failing because the go.sum needed an update after running `mage test`. The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while running `mage test`. The original errors were: go: updates to go.sum needed, disabled by -mod=readonly Error: running "go build -o build/golang-crossbuild/testbeat-windows-amd64.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1 Error: failed building for windows/amd64: exit status 1 failed building for windows/amd64: exit status 1 go: updates to go.sum needed, disabled by -mod=readonly Error: running "go build -o build/golang-crossbuild/testbeat-windows-386.exe -buildmode pie -ldflags -s -extldflags=-Wl,--nxcompat -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-04-22T20:49:55Z -X github.com/elastic/beats/v7/libbeat/version.commit=c3a7a6abdf2a15cfd685e82ce1fe502296509825" failed with exit code 1 Error: failed building for windows/386: exit status 1 failed building for windows/386: exit status 1 (cherry picked from commit c67d161) Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Both generator tests were failing because the go.sum needed an update after running
mage test.The tools.go file was not updated to include gotest.tools/gotestsum/cmd which is installed while
running
mage test.The original errors were:
Why is it important?
master build is red.
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.